package yang.itcode.model.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Product extends BasePOJO {
    private Integer id;
    private String code;
    private String name;
    private String brand;
    private String model;
    private String unit;
    private BigDecimal purchasePrice;
    private BigDecimal salePrice;
    private String image;
    private Integer categoryId;
}
